Xbasic

Helper::ExifInfo.GetThumbnail Method

Syntax

B GetThumbnail()

Description

Get the binary data for the thumbnail.

Discussion

Get the binary data for the thumbnail from the exif data. There is no gaurentee that the exif data has a thumbnail, so it is recommended that you call the HasThumbnail() method to determine this.

Example

dim eh as Helper::ExifInfo
? eh.LoadExifData("c:\a5webroot\livePreview\images\a5_igc_image_16.jpg")
= .T.
ui_bitmap_load("thumb",eh.GetThumbnail())
ui_dlg_box("","{image=thumb}")

See Also